import request from "@/utils/request";

export const uploadImage = (data) => {
  return request({
    url: "/index/upload?type=image&mode=single",
    method: "post",
    data,
  });
};
